<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
    </head>
    <body>
        <script>
            let cj = Number(window.prompt());
            if (cj < 60) {
                alert("不及格");
            } else if (cj >= 60 && cj < 70) {
                alert("D级");
            } else if (cj >= 70 && cj < 80) {
                alert("C级");
            } else if (cj >= 80 && cj < 90) {
                alert("B级");
            } else if (cj >= 90 && cj < 100) {
                alert("A级");
            }
        </script>
    </body>
</html>
